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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001377/0.001377, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001898/0.001898, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005284/0.0005285, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8221/0.8227, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003108/0.8258, allocations: 2.767 MB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.8281, allocations: 1.72 MB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.8283, allocations: 4.625 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.8284, allocations: 38.45 kB / 0.958 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.8288, allocations: 150.3 kB / 0.9582 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.8294, allocations: 224.5 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.8297, allocations: 232.6 kB / 0.9586 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006177/0.8303, allocations: 449.1 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.8305, allocations: 113.3 kB / 0.9591 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.8307, allocations: 135 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.8308, allocations: 11.38 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.8311, allocations: 128.3 kB / 0.9594 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.8312, allocations: 99.64 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.8313, allocations: 78.8 kB / 0.9596 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.8316, allocations: 347.7 kB / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8316, allocations: 0.75 kB / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8317, allocations: 0 / 0.9599 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.8317, allocations: 0 / 0.9599 GB, free: 3.328 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.0009505/0.8326, allocations: 0.5463 MB / 0.9604 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8327, allocations: 16.19 kB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.074e-05/0.8328, allocations: 61.53 kB / 0.9605 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007667/0.8335, allocations: 97.23 kB / 0.9606 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.8339, allocations: 272.7 kB / 0.9609 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.8339, allocations: 17.69 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.834, allocations: 32.77 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.8347, allocations: 441 kB / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.8347, allocations: 9.016 kB / 0.9613 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.8347, allocations: 7.125 kB / 0.9613 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.8349, allocations: 43.56 kB / 0.9614 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.8354, allocations: 343.4 kB / 0.9617 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.8376, allocations: 2.216 MB / 0.9639 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.8381, allocations: 261.4 kB / 0.9641 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.8381, allocations: 3 kB / 0.9641 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.8381, allocations: 36.05 kB / 0.9642 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.644e-06/0.8381, allocations: 0 / 0.9642 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001891/0.84, allocations: 1.052 MB / 0.9652 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.8401, allocations: 54.5 kB / 0.9652 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.8404, allocations: 250.9 kB / 0.9655 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.8404, allocations: 30.73 kB / 0.9655 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.8405, allocations: 186.7 kB / 0.9657 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.8406, allocations: 93.86 kB / 0.9658 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.8406, allocations: 5.906 kB / 0.9658 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8407, allocations: 332.6 kB / 0.9661 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.841, allocations: 150.9 kB / 0.9662 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.8413, allocations: 231.4 kB / 0.9665 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.8416, allocations: 188 kB / 0.9666 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8416, allocations: 0 / 0.9666 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001147/0.8428, allocations: 0.5865 MB / 0.9672 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8428, allocations: 15.5 kB / 0.9672 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8428, allocations: 7.156 kB / 0.9672 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.8435, allocations: 190.2 kB / 0.9674 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.8438, allocations: 60.61 kB / 0.9675 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.8467, allocations: 2.345 MB / 0.9698 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.8471, allocations: 20.19 kB / 0.9698 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.8471, allocations: 14.91 kB / 0.9698 GB, free: 11.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.8473, allocations: 176.2 kB / 0.97 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.8474, allocations: 23.03 kB / 0.97 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.848, allocations: 349.6 kB / 0.9703 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.848, allocations: 10.73 kB / 0.9703 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.848, allocations: 1.438 kB / 0.9703 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.848, allocations: 0 / 0.9703 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.8492, allocations: 0.8086 MB / 0.9711 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8492, allocations: 1.344 kB / 0.9711 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.8496, allocations: 77.62 kB / 0.9712 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8496, allocations: 1.281 kB / 0.9712 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.8496, allocations: 11.39 kB / 0.9712 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8497, allocations: 2.312 kB / 0.9712 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8497, allocations: 3.938 kB / 0.9712 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.8504, allocations: 0.634 MB / 0.9718 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.8506, allocations: 131.7 kB / 0.972 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.8507, allocations: 3.781 kB / 0.972 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.8509, allocations: 17.47 kB / 0.972 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.8509, allocations: 14.98 kB / 0.972 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.8509, allocations: 9.562 kB / 0.972 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001728/0.8511, allocations: 182.4 kB / 0.9722 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8511, allocations: 0 / 0.9722 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000441/0.8516, allocations: 84.69 kB / 0.9723 GB, free: 9.625 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/0.8528, allocations: 1.329 MB / 0.9736 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009544/0.8537, allocations: 0.5189 MB / 0.9741 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8537, allocations: 1.031 kB / 0.9741 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.854, allocations: 147 kB / 0.9742 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.8544, allocations: 51.31 kB / 0.9743 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.8591, allocations: 3.777 MB / 0.9779 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.8595, allocations: 0.8084 MB / 0.9787 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002452/0.8597, allocations: 78.25 kB / 0.9788 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.8599, allocations: 85.44 kB / 0.9789 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.8599, allocations: 0 / 0.9789 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.8794, allocations: 6.257 MB / 0.985 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.8796, allocations: 212.2 kB / 0.9852 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.742, allocations: 0 / 0.9852 GB, free: 14.99 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat does not exist to compare? outputFormat=mat