Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 196.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4886, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004288/0.4929, allocations: 3.321 MB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.4955, allocations: 1.866 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.4956, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.4963, allocations: 274.3 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.4967, allocations: 199.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.4971, allocations: 259.5 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.4976, allocations: 0.5687 MB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.4979, allocations: 200.8 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.4981, allocations: 143.5 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.4984, allocations: 199.3 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.4984, allocations: 16 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.4988, allocations: 279.4 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4989, allocations: 115.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.499, allocations: 139.3 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.4995, allocations: 480.7 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4995, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4995, allocations: 0 / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4995, allocations: 4 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008967/0.5004, allocations: 0.5848 MB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.5005, allocations: 12.03 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/0.5005, allocations: 62.7 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006951/0.5012, allocations: 92.47 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.5015, allocations: 277.7 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.5016, allocations: 24.92 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5017, allocations: 36.22 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.5022, allocations: 445.1 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5023, allocations: 3.938 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.5023, allocations: 12 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/0.5024, allocations: 40.53 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004885/0.5029, allocations: 349.9 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.505, allocations: 2.203 MB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.5054, allocations: 278.4 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.5056, allocations: 159.6 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.5057, allocations: 4 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5057, allocations: 34.94 kB / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.5057, allocations: 0 / 1.029 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001583/0.5073, allocations: 1.055 MB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.5073, allocations: 59.39 kB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5075, allocations: 248.9 kB / 1.03 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.5076, allocations: 29.7 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.5077, allocations: 187.9 kB / 1.031 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.5077, allocations: 82.91 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5078, allocations: 73.59 kB / 1.031 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.5079, allocations: 334.8 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5082, allocations: 151.9 kB / 1.031 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.5084, allocations: 241.5 kB / 1.031 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.5089, allocations: 410.7 kB / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5089, allocations: 0 / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001017/0.5099, allocations: 0.5894 MB / 1.032 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.51, allocations: 4 kB / 1.032 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.51, allocations: 4 kB / 1.032 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/0.5106, allocations: 188.9 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.5109, allocations: 59.89 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.5133, allocations: 2.304 MB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.5136, allocations: 19.98 kB / 1.035 GB, free: 15.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.5136, allocations: 12 kB / 1.035 GB, free: 15.46 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.5138, allocations: 170.2 kB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.5138, allocations: 23.66 kB / 1.035 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.5143, allocations: 361.1 kB / 1.035 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5143, allocations: 8.062 kB / 1.035 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.5143, allocations: 0 / 1.035 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5143, allocations: 3.984 kB / 1.035 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.5153, allocations: 0.8068 MB / 1.036 GB, free: 14.03 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5153, allocations: 4 kB / 1.036 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.5157, allocations: 75.88 kB / 1.036 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5157, allocations: 0 / 1.036 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.5157, allocations: 8.062 kB / 1.036 GB, free: 13.94 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5157, allocations: 8 kB / 1.036 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5157, allocations: 0 / 1.036 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/0.5164, allocations: 0.6188 MB / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5165, allocations: 124.9 kB / 1.037 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.5166, allocations: 11.91 kB / 1.037 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.5168, allocations: 19.92 kB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5168, allocations: 15.98 kB / 1.037 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.5168, allocations: 7.984 kB / 1.037 GB, free: 13.1 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001503/0.517, allocations: 184.4 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.517, allocations: 0 / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003636/0.5174, allocations: 84 kB / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009049/0.5183, allocations: 1.158 MB / 1.038 GB, free: 11.65 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007575/0.519, allocations: 0.5379 MB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5191, allocations: 0 / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.5193, allocations: 150.1 kB / 1.039 GB, free: 10.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.5197, allocations: 54.42 kB / 1.039 GB, free: 10.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.5241, allocations: 3.751 MB / 1.043 GB, free: 6.988 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.5244, allocations: 0.7989 MB / 1.044 GB, free: 6.164 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001974/0.5246, allocations: 74.91 kB / 1.044 GB, free: 6.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5247, allocations: 79.41 kB / 1.044 GB, free: 6.016 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.5247, allocations: 0 / 1.044 GB, free: 6.016 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6144/1.139, allocations: 6.425 MB / 1.05 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.139, allocations: 242.5 kB / 1.05 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/3.233, allocations: 1.828 kB / 1.05 GB, free: 15.5 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches