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.004697/0.004697, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.001171/0.001171, allocations: 201.3 kB / 16.68 MB, free: 5.961 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.684/2.684, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.255, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005413/0.2605, allocations: 3.757 MB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.2635, allocations: 1.789 MB / 1.172 GB, free: 1.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.2638, allocations: 15.94 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.2649, allocations: 270.5 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009442/0.2659, allocations: 306.5 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.2665, allocations: 255.5 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.2672, allocations: 0.6049 MB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.2677, allocations: 258.5 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.2681, allocations: 247 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.2685, allocations: 235 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.2686, allocations: 28 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.269, allocations: 267.4 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2692, allocations: 119.6 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.2694, allocations: 214.9 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007655/0.2702, allocations: 0.5993 MB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2702, allocations: 0 / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2702, allocations: 0 / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.2703, allocations: 0 / 1.175 GB, free: 14.32 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001262/0.2715, allocations: 0.7434 MB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2716, allocations: 8.031 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.2717, allocations: 74.7 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.2726, allocations: 144.5 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.2732, allocations: 403.9 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2732, allocations: 25.02 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.697e-05/0.2733, allocations: 28.38 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008188/0.2741, allocations: 0.5548 MB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.2741, allocations: 7.938 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.2742, allocations: 12 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.337e-05/0.2743, allocations: 48.47 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.275, allocations: 405.8 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.2778, allocations: 3.334 MB / 1.181 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.2784, allocations: 342.4 kB / 1.181 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.2788, allocations: 176.8 kB / 1.181 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.2788, allocations: 4 kB / 1.181 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2788, allocations: 34.5 kB / 1.181 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.2788, allocations: 0 / 1.181 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=27): time 0.00207/0.2809, allocations: 1.064 MB / 1.182 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.281, allocations: 59.64 kB / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.2813, allocations: 341.6 kB / 1.182 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.2813, allocations: 33.64 kB / 1.182 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.2815, allocations: 260 kB / 1.183 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.2816, allocations: 99.17 kB / 1.183 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.2817, allocations: 70.09 kB / 1.183 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2818, allocations: 346.8 kB / 1.183 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.2821, allocations: 156.8 kB / 1.183 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.2825, allocations: 286.5 kB / 1.184 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.2832, allocations: 491.4 kB / 1.184 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2832, allocations: 0 / 1.184 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001076/0.2843, allocations: 0.562 MB / 1.185 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2843, allocations: 4 kB / 1.185 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.2843, allocations: 8 kB / 1.185 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.2847, allocations: 90.5 kB / 1.185 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.285, allocations: 88.27 kB / 1.185 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.2851, allocations: 19.86 kB / 1.185 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.2853, allocations: 23.98 kB / 1.185 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2854, allocations: 19.98 kB / 1.185 GB, free: 3.324 MB / 0.9356 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.0002007/0.2856, allocations: 173.6 kB / 1.185 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.2857, allocations: 39.77 kB / 1.185 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.2866, allocations: 468 kB / 1.186 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2866, allocations: 0 / 1.186 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.2866, allocations: 7.984 kB / 1.186 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2867, allocations: 0 / 1.186 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.2881, allocations: 0.9598 MB / 1.187 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.2881, allocations: 4 kB / 1.187 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2884, allocations: 51.91 kB / 1.187 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.2886, allocations: 78.5 kB / 1.187 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.2887, allocations: 12.09 kB / 1.187 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2887, allocations: 0 / 1.187 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2887, allocations: 4 kB / 1.187 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.2895, allocations: 0.5491 MB / 1.187 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.2897, allocations: 144.7 kB / 1.187 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.2898, allocations: 8 kB / 1.187 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.29, allocations: 27.91 kB / 1.187 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.2901, allocations: 19.97 kB / 1.187 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2901, allocations: 8 kB / 1.187 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002259/0.2903, allocations: 235.2 kB / 1.188 GB, free: 412 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2903, allocations: 4 kB / 1.188 GB, free: 408 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004347/0.2908, allocations: 88 kB / 1.188 GB, free: 320 kB / 0.9356 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.001123/0.2919, allocations: 1.092 MB / 1.189 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008822/0.2928, allocations: 0.635 MB / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2928, allocations: 0 / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.2933, allocations: 441.6 kB / 1.19 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.294, allocations: 126.8 kB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.2989, allocations: 3.727 MB / 1.194 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.2993, allocations: 0.8308 MB / 1.194 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002655/0.2996, allocations: 79.34 kB / 1.194 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.2998, allocations: 123.4 kB / 1.195 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of SimCode: time 7.71e-07/0.2998, allocations: 0 / 1.195 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02919/0.329, allocations: 8.32 MB / 1.203 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.905/10.23, allocations: 9.094 kB / 1.203 GB, free: 0.7344 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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