Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 64.8 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2492, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004451/0.2537, allocations: 3.271 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.2566, allocations: 2.018 MB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.2567, allocations: 7.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000803/0.2576, allocations: 291.4 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004362/0.258, allocations: 238.9 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.2586, allocations: 288.4 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.259, allocations: 406.8 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.2593, allocations: 196.2 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2595, allocations: 155.5 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.2598, allocations: 199.3 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.2599, allocations: 27.94 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.2602, allocations: 271.5 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.2604, allocations: 115.7 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.2605, allocations: 151.2 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.2611, allocations: 490.8 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2611, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2611, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2611, allocations: 7.938 kB / 1.072 GB, free: 6.09 MB / 0.8262 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.0009831/0.2621, allocations: 0.5888 MB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2621, allocations: 8.031 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.429e-05/0.2622, allocations: 74.7 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/0.2631, allocations: 120.4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2634, allocations: 277.6 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.2635, allocations: 12.94 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2636, allocations: 40.47 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.2642, allocations: 453.1 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2643, allocations: 0 / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.2643, allocations: 11.98 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.2645, allocations: 40.53 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.2651, allocations: 369.9 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.2675, allocations: 2.218 MB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.2679, allocations: 266.4 kB / 1.076 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2682, allocations: 164.8 kB / 1.076 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2682, allocations: 4 kB / 1.076 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2682, allocations: 30.56 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.105e-06/0.2682, allocations: 3.984 kB / 1.077 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.00169/0.2699, allocations: 1.058 MB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.27, allocations: 55.41 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.2703, allocations: 260.8 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2703, allocations: 29.7 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2704, allocations: 184 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.2705, allocations: 94.67 kB / 1.078 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.2706, allocations: 73.69 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2708, allocations: 342.8 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.2711, allocations: 155.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.2714, allocations: 249.5 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.272, allocations: 402.8 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.272, allocations: 3.938 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001127/0.2731, allocations: 0.6049 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2731, allocations: 7.938 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2731, allocations: 4 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.2738, allocations: 193 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2741, allocations: 59.89 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.2768, allocations: 2.488 MB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/0.2772, allocations: 27.97 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.2772, allocations: 8 kB / 1.083 GB, free: 10.5 MB / 0.8419 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.0001655/0.2774, allocations: 173.9 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.2775, allocations: 27.66 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.278, allocations: 358.3 kB / 1.083 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.278, allocations: 0 / 1.083 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.278, allocations: 7.922 kB / 1.083 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.278, allocations: 0 / 1.083 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.279, allocations: 0.8219 MB / 1.084 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.279, allocations: 0 / 1.084 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.2794, allocations: 71.88 kB / 1.084 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2794, allocations: 4 kB / 1.084 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2795, allocations: 8 kB / 1.084 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2795, allocations: 0 / 1.084 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2795, allocations: 3.984 kB / 1.084 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.2802, allocations: 0.6143 MB / 1.085 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.2803, allocations: 128.8 kB / 1.085 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.2804, allocations: 7.984 kB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.2806, allocations: 15.98 kB / 1.085 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2806, allocations: 19.92 kB / 1.085 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2807, allocations: 4 kB / 1.085 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002137/0.2809, allocations: 192.5 kB / 1.085 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2809, allocations: 0 / 1.085 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003778/0.2813, allocations: 96 kB / 1.085 GB, free: 7.855 MB / 0.8419 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.001031/0.2823, allocations: 1.156 MB / 1.086 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009181/0.2832, allocations: 0.5666 MB / 1.087 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2833, allocations: 0.625 kB / 1.087 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.2835, allocations: 152.7 kB / 1.087 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.2839, allocations: 65.11 kB / 1.087 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.2887, allocations: 3.697 MB / 1.091 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.2891, allocations: 0.7873 MB / 1.091 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002144/0.2893, allocations: 78.91 kB / 1.091 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2895, allocations: 87.41 kB / 1.092 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of SimCode: time 1.834e-06/0.2895, allocations: 0 / 1.092 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.838/3.127, allocations: 6.812 MB / 1.098 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/15.75, allocations: 8 kB / 1.098 GB, free: 10.38 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches