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.001722/0.001722, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.614/2.614, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.5 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2593, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005195/0.2645, allocations: 3.755 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.2672, allocations: 1.793 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.2674, allocations: 15.88 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.2681, allocations: 262.7 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.2687, allocations: 302.4 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.2692, allocations: 253.7 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.2697, allocations: 0.6049 MB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.2701, allocations: 251.3 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.2704, allocations: 235.1 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.2707, allocations: 231 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.2708, allocations: 28 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.2712, allocations: 283.4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2713, allocations: 107.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2715, allocations: 218.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.2721, allocations: 0.5804 MB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2721, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2721, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.2721, allocations: 0 / 1.073 GB, free: 5.293 MB / 0.8262 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.001005/0.2731, allocations: 0.7259 MB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.2732, allocations: 16.02 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.314e-05/0.2733, allocations: 74.7 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008396/0.2741, allocations: 136.2 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.2746, allocations: 379.5 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.2747, allocations: 21.03 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2747, allocations: 28.38 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.2755, allocations: 0.5626 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2755, allocations: 7.875 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.2756, allocations: 12 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.2756, allocations: 44.53 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.2763, allocations: 405.8 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.2793, allocations: 3.33 MB / 1.078 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.2799, allocations: 338.5 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.2802, allocations: 176.8 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2803, allocations: 7.984 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2803, allocations: 38.5 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.2803, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.001947/0.2823, allocations: 1.067 MB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2823, allocations: 55.64 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.2827, allocations: 345.6 kB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2827, allocations: 25.7 kB / 1.08 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2829, allocations: 247.5 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.283, allocations: 98.64 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.2831, allocations: 74.03 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2833, allocations: 346.8 kB / 1.081 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.2836, allocations: 148.8 kB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.284, allocations: 294.5 kB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/0.2847, allocations: 479.6 kB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2847, allocations: 0 / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009683/0.2857, allocations: 0.5739 MB / 1.082 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2857, allocations: 4 kB / 1.082 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2857, allocations: 8 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.286, allocations: 82.5 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.2863, allocations: 95.81 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2863, allocations: 7.938 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.2866, allocations: 32.16 kB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2866, allocations: 16 kB / 1.083 GB, free: 10.38 MB / 0.8419 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.000187/0.2868, allocations: 181.6 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.2869, allocations: 39.53 kB / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.2877, allocations: 464 kB / 1.083 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2877, allocations: 0 / 1.083 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.2878, allocations: 7.938 kB / 1.083 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2878, allocations: 0 / 1.083 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.2892, allocations: 0.9598 MB / 1.084 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2892, allocations: 4 kB / 1.084 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.2894, allocations: 51.89 kB / 1.084 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000241/0.2897, allocations: 74.52 kB / 1.084 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2897, allocations: 8 kB / 1.084 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2897, allocations: 96 / 1.084 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2897, allocations: 8 kB / 1.084 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.2905, allocations: 0.5521 MB / 1.085 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2907, allocations: 136.5 kB / 1.085 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.2908, allocations: 11.98 kB / 1.085 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.291, allocations: 23.91 kB / 1.085 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.291, allocations: 23.97 kB / 1.085 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2911, allocations: 8 kB / 1.085 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002214/0.2913, allocations: 231.2 kB / 1.085 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2913, allocations: 0 / 1.085 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003691/0.2917, allocations: 88 kB / 1.086 GB, free: 7.371 MB / 0.8419 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.001184/0.2929, allocations: 1.092 MB / 1.087 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009389/0.2938, allocations: 0.6665 MB / 1.087 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2938, allocations: 7.938 kB / 1.087 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000463/0.2943, allocations: 429.7 kB / 1.088 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.2949, allocations: 124.8 kB / 1.088 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/0.2995, allocations: 3.747 MB / 1.091 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.3, allocations: 0.8231 MB / 1.092 GB, free: 48 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.3002, allocations: 79.34 kB / 1.092 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3004, allocations: 131.4 kB / 1.092 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3004, allocations: 0 / 1.092 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9063/1.207, allocations: 8.196 MB / 1.1 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.58, allocations: 8.078 kB / 1.1 GB, free: 7.844 MB / 0.8575 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