Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_latest_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.00773/0.00773, allocations: 105.2 kB / 15.74 MB, free: 6.039 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.001795/0.001795, allocations: 196.2 kB / 16.68 MB, free: 5.957 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 56.12 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7014, allocations: 157.4 MB / 1.207 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004653/0.7061, allocations: 3.269 MB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.7093, allocations: 2.014 MB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.7095, allocations: 4 kB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009859/0.7105, allocations: 298.8 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006245/0.7112, allocations: 230.9 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.7119, allocations: 291.3 kB / 1.213 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000495/0.7124, allocations: 406.7 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.7128, allocations: 204.2 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.713, allocations: 159.5 kB / 1.214 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.7134, allocations: 195.3 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.7134, allocations: 24 kB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.7139, allocations: 271.5 kB / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.714, allocations: 119.7 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.7142, allocations: 151.2 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.7147, allocations: 492.8 kB / 1.215 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7147, allocations: 0 / 1.215 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7147, allocations: 0 / 1.215 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.7148, allocations: 0 / 1.215 GB, free: 5.609 MB / 0.9356 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.00105/0.7158, allocations: 0.5965 MB / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.7159, allocations: 12.03 kB / 1.216 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.7159, allocations: 66.72 kB / 1.216 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.7169, allocations: 116.4 kB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.7172, allocations: 280.4 kB / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.7173, allocations: 20.92 kB / 1.216 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.7174, allocations: 36.5 kB / 1.216 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/0.718, allocations: 461 kB / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.7181, allocations: 7.984 kB / 1.217 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.7181, allocations: 11.98 kB / 1.217 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.7182, allocations: 40.53 kB / 1.217 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.7188, allocations: 365.9 kB / 1.217 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.7211, allocations: 2.214 MB / 1.219 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.7215, allocations: 266.4 kB / 1.219 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.7217, allocations: 160.8 kB / 1.22 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.7217, allocations: 0 / 1.22 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.7218, allocations: 46.48 kB / 1.22 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.7218, allocations: 0 / 1.22 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.001657/0.7234, allocations: 1.055 MB / 1.221 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.7235, allocations: 55.41 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.7238, allocations: 252.9 kB / 1.221 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.7238, allocations: 33.7 kB / 1.221 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.7239, allocations: 187.9 kB / 1.221 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.724, allocations: 82.81 kB / 1.221 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.7241, allocations: 81.58 kB / 1.221 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7242, allocations: 330.8 kB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.7245, allocations: 167.8 kB / 1.222 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.7248, allocations: 237.6 kB / 1.222 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.7253, allocations: 418.8 kB / 1.222 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7253, allocations: 3.938 kB / 1.222 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001111/0.7264, allocations: 0.5895 MB / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7265, allocations: 8 kB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.7265, allocations: 4 kB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.7271, allocations: 184.9 kB / 1.223 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.7275, allocations: 67.88 kB / 1.223 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.7301, allocations: 2.492 MB / 1.226 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.7305, allocations: 24.02 kB / 1.226 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.7305, allocations: 15.98 kB / 1.226 GB, free: 10.02 MB / 0.9512 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.0001694/0.7307, allocations: 181.6 kB / 1.226 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.7308, allocations: 23.72 kB / 1.226 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.7313, allocations: 351.5 kB / 1.226 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.7313, allocations: 4.109 kB / 1.226 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.7313, allocations: 3.938 kB / 1.226 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7313, allocations: 0 / 1.226 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.7323, allocations: 0.816 MB / 1.227 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7323, allocations: 8.062 kB / 1.227 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.7327, allocations: 71.88 kB / 1.227 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7327, allocations: 3.938 kB / 1.227 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.7327, allocations: 8 kB / 1.227 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7327, allocations: 4 kB / 1.227 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7327, allocations: 0 / 1.227 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.7334, allocations: 0.6121 MB / 1.228 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.7335, allocations: 132.8 kB / 1.228 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.7336, allocations: 8 kB / 1.228 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.7338, allocations: 11.98 kB / 1.228 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.7339, allocations: 23.98 kB / 1.228 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.7339, allocations: 8 kB / 1.228 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002053/0.7341, allocations: 188.5 kB / 1.228 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7341, allocations: 4 kB / 1.228 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004092/0.7345, allocations: 88 kB / 1.228 GB, free: 7.375 MB / 0.9512 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.000976/0.7355, allocations: 1.167 MB / 1.229 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008918/0.7364, allocations: 0.5334 MB / 1.23 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7364, allocations: 0.625 kB / 1.23 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.7366, allocations: 151.9 kB / 1.23 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.7371, allocations: 60.38 kB / 1.23 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.7419, allocations: 3.689 MB / 1.234 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.7422, allocations: 0.795 MB / 1.234 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000217/0.7424, allocations: 78.91 kB / 1.235 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.7426, allocations: 87.39 kB / 1.235 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.7426, allocations: 4 kB / 1.235 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.7692, allocations: 7.04 MB / 1.242 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.32/10.09, allocations: 12.28 kB / 1.242 GB, free: 9.711 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches