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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001149/0.001149, 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.001241/0.001241, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.473/2.473, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 55.91 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.5603, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005012/0.5653, allocations: 3.254 MB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.5685, allocations: 2.026 MB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.5688, allocations: 4 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.5697, allocations: 286.8 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000581/0.5703, allocations: 234.9 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.571, allocations: 296.5 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.5715, allocations: 414.7 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.5718, allocations: 197.8 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.5721, allocations: 155.5 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.5724, allocations: 203.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/0.5725, allocations: 24 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.5729, allocations: 263.5 kB / 1.025 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.5731, allocations: 119.7 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.5732, allocations: 147.3 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.5738, allocations: 488.8 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.5738, allocations: 4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5738, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5739, allocations: 0 / 1.025 GB, free: 10.39 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.001019/0.5749, allocations: 0.6004 MB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5749, allocations: 11.97 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.575, allocations: 70.7 kB / 1.026 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.576, allocations: 120.4 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.5763, allocations: 272.5 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.5764, allocations: 16.94 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5765, allocations: 44.38 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.5772, allocations: 453.1 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5772, allocations: 3.938 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/0.5773, allocations: 12 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001336/0.5774, allocations: 40.53 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.578, allocations: 361.9 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.5805, allocations: 2.226 MB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.5809, allocations: 266.4 kB / 1.03 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.5812, allocations: 160.8 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5812, allocations: 8 kB / 1.03 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5812, allocations: 34.56 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.5812, allocations: 0 / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001717/0.5829, allocations: 1.06 MB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.583, allocations: 59.39 kB / 1.031 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.5833, allocations: 249 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5833, allocations: 29.7 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5834, allocations: 187.9 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.5835, allocations: 90.8 kB / 1.031 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.5836, allocations: 69.59 kB / 1.032 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5837, allocations: 342.8 kB / 1.032 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.584, allocations: 151.9 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.5844, allocations: 253.5 kB / 1.032 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.5849, allocations: 410.8 kB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5849, allocations: 3.938 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001152/0.5861, allocations: 0.5963 MB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5861, allocations: 4 kB / 1.033 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5861, allocations: 4 kB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/0.5868, allocations: 189 kB / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.5871, allocations: 67.89 kB / 1.033 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.5898, allocations: 2.496 MB / 1.036 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.5902, allocations: 27.97 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.5902, allocations: 12 kB / 1.036 GB, free: 14.78 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.000158/0.5904, allocations: 173.7 kB / 1.036 GB, free: 14.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.5904, allocations: 23.72 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.5909, allocations: 357.5 kB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.591, allocations: 7.984 kB / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.591, allocations: 0 / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.591, allocations: 0 / 1.036 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.592, allocations: 0.8162 MB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.592, allocations: 4.062 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.5924, allocations: 71.88 kB / 1.037 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5924, allocations: 4 kB / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.5924, allocations: 8 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5924, allocations: 3.984 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5924, allocations: 0 / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007074/0.5931, allocations: 0.6218 MB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5933, allocations: 128.9 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.5933, allocations: 11.98 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.5936, allocations: 15.98 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.5936, allocations: 15.92 kB / 1.038 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.5936, allocations: 4 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002137/0.5939, allocations: 188.5 kB / 1.038 GB, free: 12.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5939, allocations: 4 kB / 1.038 GB, free: 12.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003796/0.5942, allocations: 88 kB / 1.038 GB, free: 12.14 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.0009639/0.5952, allocations: 1.155 MB / 1.04 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009104/0.5961, allocations: 0.5744 MB / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5962, allocations: 0 / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.5964, allocations: 152.4 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5968, allocations: 59.05 kB / 1.04 GB, free: 10.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.6018, allocations: 3.692 MB / 1.044 GB, free: 6.316 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.6021, allocations: 0.7951 MB / 1.045 GB, free: 5.496 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.6024, allocations: 82.89 kB / 1.045 GB, free: 5.418 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.6025, allocations: 83.41 kB / 1.045 GB, free: 5.336 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.6025, allocations: 0 / 1.045 GB, free: 5.336 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/1, allocations: 6.798 MB / 1.051 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.19, allocations: 13.95 kB / 1.051 GB, free: 14.67 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