Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.VariableImpedance,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_10_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.003917/0.003917, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001175/0.001175, allocations: 194.2 kB / 16.68 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.296/2.296, allocations: 437.1 MB / 0.7106 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 63.91 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6261/0.6279, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004875/0.6328, allocations: 3.753 MB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.6356, allocations: 1.796 MB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.6358, allocations: 23.88 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008035/0.6366, allocations: 258.7 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.6372, allocations: 294.5 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.6378, allocations: 248.3 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000689/0.6385, allocations: 0.601 MB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003939/0.6389, allocations: 262.5 kB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.6392, allocations: 239.1 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.6396, allocations: 223 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.6396, allocations: 28 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.6401, allocations: 279.4 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.6402, allocations: 119.6 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.6404, allocations: 214.8 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.6411, allocations: 0.595 MB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6411, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6411, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.6411, allocations: 0 / 1.175 GB, free: 10.8 MB / 0.9044 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.001104/0.6423, allocations: 0.7473 MB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.6423, allocations: 8.922 kB / 1.176 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.374e-05/0.6424, allocations: 74.64 kB / 1.176 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.6432, allocations: 144.4 kB / 1.176 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.6437, allocations: 407.9 kB / 1.176 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.6438, allocations: 21.03 kB / 1.176 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.6438, allocations: 32.36 kB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.6446, allocations: 0.5548 MB / 1.177 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6446, allocations: 7.938 kB / 1.177 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.6447, allocations: 12 kB / 1.177 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/0.6448, allocations: 44.53 kB / 1.177 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.6454, allocations: 405.7 kB / 1.177 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.6482, allocations: 3.338 MB / 1.18 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.6488, allocations: 335.6 kB / 1.181 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.6492, allocations: 184.8 kB / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.6492, allocations: 0 / 1.181 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.6492, allocations: 38.56 kB / 1.181 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.032e-06/0.6492, allocations: 0 / 1.181 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27): time 0.001944/0.6512, allocations: 1.066 MB / 1.182 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.6512, allocations: 51.64 kB / 1.182 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.6516, allocations: 345.6 kB / 1.182 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6516, allocations: 29.7 kB / 1.182 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.6518, allocations: 260 kB / 1.183 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.6519, allocations: 99.16 kB / 1.183 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.652, allocations: 74.09 kB / 1.183 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6521, allocations: 346.8 kB / 1.183 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.6524, allocations: 152.8 kB / 1.183 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.6528, allocations: 286.5 kB / 1.184 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/0.6534, allocations: 490.5 kB / 1.184 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6535, allocations: 0 / 1.184 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009494/0.6544, allocations: 0.5656 MB / 1.185 GB, free: 56 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6544, allocations: 8.625 kB / 1.185 GB, free: 48 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6545, allocations: 8 kB / 1.185 GB, free: 40 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.6548, allocations: 86.5 kB / 1.185 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.6551, allocations: 87.83 kB / 1.185 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.6551, allocations: 15.92 kB / 1.185 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.6553, allocations: 23.97 kB / 1.185 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.6554, allocations: 20 kB / 1.185 GB, free: 15.8 MB / 0.92 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.0001826/0.6556, allocations: 184.2 kB / 1.185 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.6556, allocations: 39.77 kB / 1.185 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008522/0.6565, allocations: 464 kB / 1.186 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.6565, allocations: 4 kB / 1.186 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6565, allocations: 4 kB / 1.186 GB, free: 15.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6565, allocations: 3.984 kB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.6579, allocations: 0.9598 MB / 1.187 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6579, allocations: 0 / 1.187 GB, free: 14.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.6582, allocations: 55.98 kB / 1.187 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.6584, allocations: 78.52 kB / 1.187 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.6584, allocations: 8 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6584, allocations: 4 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6585, allocations: 7.875 kB / 1.187 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.6593, allocations: 0.5456 MB / 1.187 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6595, allocations: 144.8 kB / 1.187 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.6595, allocations: 0 / 1.187 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.6597, allocations: 31.91 kB / 1.187 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.6598, allocations: 19.97 kB / 1.187 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.6598, allocations: 8 kB / 1.187 GB, free: 13.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002288/0.6601, allocations: 243.2 kB / 1.188 GB, free: 12.87 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6601, allocations: 0 / 1.188 GB, free: 12.87 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000379/0.6604, allocations: 84 kB / 1.188 GB, free: 12.79 MB / 0.92 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.001121/0.6616, allocations: 1.092 MB / 1.189 GB, free: 11.64 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000862/0.6624, allocations: 0.6236 MB / 1.189 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6625, allocations: 0 / 1.189 GB, free: 10.96 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004574/0.6629, allocations: 441.7 kB / 1.19 GB, free: 10.46 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.6636, allocations: 138.4 kB / 1.19 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.6681, allocations: 3.735 MB / 1.194 GB, free: 6.355 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.6686, allocations: 0.8269 MB / 1.194 GB, free: 5.504 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.6688, allocations: 83.34 kB / 1.194 GB, free: 5.422 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.669, allocations: 127.4 kB / 1.195 GB, free: 5.297 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/0.669, allocations: 0 / 1.195 GB, free: 5.297 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.373/1.042, allocations: 8.304 MB / 1.203 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.57, allocations: 6.172 kB / 1.203 GB, free: 13.2 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches