Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.006207/0.006207, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001593/0.001593, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 63.98 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6468/0.6485, allocations: 159.1 MB / 1.22 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004821/0.6533, allocations: 3.754 MB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.6559, allocations: 1.796 MB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.6561, allocations: 15.88 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008004/0.6569, allocations: 269 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.6575, allocations: 294.5 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.6579, allocations: 251.4 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.6585, allocations: 0.6049 MB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.6589, allocations: 250.5 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.6592, allocations: 231.2 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.6595, allocations: 235 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.6596, allocations: 28 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.66, allocations: 279.4 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.6602, allocations: 123.6 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.6604, allocations: 210.8 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.661, allocations: 0.591 MB / 1.229 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.661, allocations: 0 / 1.229 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.661, allocations: 0 / 1.229 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6611, allocations: 4 kB / 1.229 GB, free: 9.27 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001068/0.6621, allocations: 0.7435 MB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6622, allocations: 8.031 kB / 1.23 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.352e-05/0.6623, allocations: 70.72 kB / 1.23 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.6631, allocations: 148.3 kB / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.6636, allocations: 407.9 kB / 1.23 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.6637, allocations: 21.03 kB / 1.23 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.6637, allocations: 32.36 kB / 1.23 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007892/0.6645, allocations: 0.547 MB / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6646, allocations: 11.94 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.6646, allocations: 12 kB / 1.231 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-05/0.6647, allocations: 40.53 kB / 1.231 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.6654, allocations: 409.8 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.6681, allocations: 3.338 MB / 1.234 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.6687, allocations: 342.4 kB / 1.235 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.669, allocations: 172.8 kB / 1.235 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.6691, allocations: 4 kB / 1.235 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6691, allocations: 38.5 kB / 1.235 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 1.422e-06/0.6691, allocations: 4 kB / 1.235 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.001919/0.671, allocations: 1.071 MB / 1.236 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.6711, allocations: 59.62 kB / 1.236 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.6714, allocations: 345.6 kB / 1.236 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.6714, allocations: 29.7 kB / 1.236 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.6716, allocations: 248.1 kB / 1.237 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.365e-05/0.6717, allocations: 99.16 kB / 1.237 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.6718, allocations: 78.08 kB / 1.237 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6719, allocations: 346.8 kB / 1.237 GB, free: 152 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.6722, allocations: 152.8 kB / 1.237 GB, free: 0 / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.6726, allocations: 294.5 kB / 1.238 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.6733, allocations: 478.6 kB / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6733, allocations: 0 / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009523/0.6742, allocations: 0.5618 MB / 1.239 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6743, allocations: 11.98 kB / 1.239 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6743, allocations: 4 kB / 1.239 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.6745, allocations: 87.02 kB / 1.239 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.6749, allocations: 91.81 kB / 1.239 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.6749, allocations: 7.938 kB / 1.239 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6751, allocations: 31.97 kB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.6752, allocations: 16 kB / 1.239 GB, free: 14.29 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.6754, allocations: 177.6 kB / 1.239 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.6754, allocations: 39.77 kB / 1.239 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.6763, allocations: 468.2 kB / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.6763, allocations: 0 / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6763, allocations: 7.938 kB / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6763, allocations: 0 / 1.24 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.6777, allocations: 0.9559 MB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6777, allocations: 4 kB / 1.24 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.6779, allocations: 51.89 kB / 1.241 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.6781, allocations: 82.61 kB / 1.241 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.6782, allocations: 11.98 kB / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6782, allocations: 0 / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6782, allocations: 4 kB / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/0.679, allocations: 0.5432 MB / 1.241 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6792, allocations: 144.8 kB / 1.241 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.6792, allocations: 12 kB / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.6794, allocations: 27.91 kB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.6795, allocations: 19.91 kB / 1.241 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6795, allocations: 12 kB / 1.241 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002194/0.6798, allocations: 235.2 kB / 1.242 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6798, allocations: 3.938 kB / 1.242 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003674/0.6801, allocations: 88 kB / 1.242 GB, free: 11.26 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.6812, allocations: 1.089 MB / 1.243 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008447/0.6821, allocations: 0.6356 MB / 1.243 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6821, allocations: 0 / 1.243 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.6826, allocations: 437.6 kB / 1.244 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.6832, allocations: 130.7 kB / 1.244 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.6876, allocations: 3.742 MB / 1.248 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.688, allocations: 0.8308 MB / 1.248 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.6883, allocations: 79.34 kB / 1.248 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.6884, allocations: 127.4 kB / 1.249 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.6884, allocations: 3.938 kB / 1.249 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.644/2.333, allocations: 8.309 MB / 1.257 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/17.94, allocations: 9.609 kB / 1.257 GB, free: 11.66 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches