Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_9_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.00119/0.00119, 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.001245/0.001245, allocations: 195.5 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6321, allocations: 140.4 MB / 0.9491 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004454/0.6365, allocations: 3.308 MB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.6396, allocations: 2.026 MB / 0.9543 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.6398, allocations: 11.12 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.6408, allocations: 268.4 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.6414, allocations: 217.6 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008401/0.6423, allocations: 258.6 kB / 0.955 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008609/0.6431, allocations: 0.5749 MB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.6437, allocations: 197.7 kB / 0.9557 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003947/0.6441, allocations: 143.6 kB / 0.9559 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.6446, allocations: 202.1 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.6447, allocations: 15.44 kB / 0.9561 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.6454, allocations: 308.1 kB / 0.9564 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.6456, allocations: 114.9 kB / 0.9565 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.6459, allocations: 138.9 kB / 0.9566 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006838/0.6465, allocations: 494.7 kB / 0.9571 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6466, allocations: 4 kB / 0.9571 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6466, allocations: 5.312 kB / 0.9571 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.6466, allocations: 4 kB / 0.9571 GB, free: 3.109 MB / 0.7169 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.001173/0.6478, allocations: 0.5896 MB / 0.9577 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6478, allocations: 8.531 kB / 0.9577 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.843e-05/0.6479, allocations: 68.8 kB / 0.9578 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.649, allocations: 124.7 kB / 0.9579 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.6494, allocations: 268.1 kB / 0.9581 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.6494, allocations: 19.55 kB / 0.9581 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.6496, allocations: 40.73 kB / 0.9582 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007638/0.6504, allocations: 456.5 kB / 0.9586 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6504, allocations: 1.094 kB / 0.9586 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.6504, allocations: 11.38 kB / 0.9586 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.6506, allocations: 38.53 kB / 0.9587 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.6512, allocations: 362.1 kB / 0.959 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.6538, allocations: 2.227 MB / 0.9612 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.6542, allocations: 273.2 kB / 0.9614 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.6545, allocations: 163.1 kB / 0.9616 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.6545, allocations: 2.25 kB / 0.9616 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.6546, allocations: 40.09 kB / 0.9616 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.6546, allocations: 1.125 kB / 0.9616 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001889/0.6565, allocations: 1.056 MB / 0.9627 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.6565, allocations: 58.03 kB / 0.9627 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.6568, allocations: 253.4 kB / 0.963 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.6569, allocations: 30.89 kB / 0.963 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.657, allocations: 191.1 kB / 0.9632 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.6571, allocations: 81.41 kB / 0.9633 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6572, allocations: 75.75 kB / 0.9633 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6573, allocations: 337.4 kB / 0.9637 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.6576, allocations: 162.8 kB / 0.9638 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.6579, allocations: 241.2 kB / 0.964 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.6585, allocations: 413.7 kB / 0.9644 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6585, allocations: 1.062 kB / 0.9644 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001231/0.6598, allocations: 0.5975 MB / 0.965 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6598, allocations: 8.406 kB / 0.965 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6598, allocations: 2.188 kB / 0.965 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.6606, allocations: 191.3 kB / 0.9652 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.6609, allocations: 66.83 kB / 0.9653 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.6638, allocations: 2.305 MB / 0.9675 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.6642, allocations: 24.09 kB / 0.9676 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.6642, allocations: 14.84 kB / 0.9676 GB, free: 10.77 MB / 0.7325 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.0001937/0.6644, allocations: 163.2 kB / 0.9677 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.6645, allocations: 31.88 kB / 0.9678 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005375/0.665, allocations: 355.5 kB / 0.9681 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.665, allocations: 2.156 kB / 0.9681 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.665, allocations: 5.109 kB / 0.9681 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6651, allocations: 0 / 0.9681 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009904/0.6661, allocations: 0.8084 MB / 0.9689 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6661, allocations: 1.312 kB / 0.9689 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/0.6665, allocations: 82.12 kB / 0.969 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6665, allocations: 1.312 kB / 0.969 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.6665, allocations: 12.03 kB / 0.969 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6665, allocations: 1.438 kB / 0.969 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6665, allocations: 3.984 kB / 0.969 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.6673, allocations: 0.6057 MB / 0.9696 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.6674, allocations: 131.6 kB / 0.9697 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.6675, allocations: 11.11 kB / 0.9697 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.6677, allocations: 14.73 kB / 0.9697 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.6677, allocations: 19.25 kB / 0.9697 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.6678, allocations: 9.75 kB / 0.9698 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002111/0.668, allocations: 191.8 kB / 0.9699 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.668, allocations: 0 / 0.9699 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004002/0.6684, allocations: 86.81 kB / 0.97 GB, free: 9.051 MB / 0.7325 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.0009727/0.6694, allocations: 1.156 MB / 0.9711 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008875/0.6703, allocations: 0.5409 MB / 0.9717 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6703, allocations: 0 / 0.9717 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.6705, allocations: 152.6 kB / 0.9718 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.6709, allocations: 52.19 kB / 0.9719 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/0.6759, allocations: 3.789 MB / 0.9756 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.6762, allocations: 0.7907 MB / 0.9763 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002415/0.6765, allocations: 83.12 kB / 0.9764 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6766, allocations: 90.52 kB / 0.9765 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.6766, allocations: 0 / 0.9765 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.7098, allocations: 6.551 MB / 0.9829 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.71, allocations: 242.2 kB / 0.9831 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.481, allocations: 0 / 0.9831 GB, free: 14.28 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches