Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_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.001604/0.001604, 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.001178/0.001178, allocations: 197 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001387, allocations: 66.12 kB / 0.8992 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2456, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005045/0.2507, allocations: 3.749 MB / 1.057 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002641/0.2533, allocations: 1.808 MB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.2536, allocations: 15.88 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.2544, allocations: 258.7 kB / 1.059 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.2551, allocations: 294.4 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.2556, allocations: 258.6 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006089/0.2562, allocations: 0.6088 MB / 1.06 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.2566, allocations: 246.6 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.2569, allocations: 243.1 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.2573, allocations: 223 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.2573, allocations: 28 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.2578, allocations: 271.4 kB / 1.061 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2579, allocations: 119.6 kB / 1.061 GB, free: 200 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.2582, allocations: 226.8 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.2588, allocations: 0.5803 MB / 1.062 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2588, allocations: 0 / 1.062 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2588, allocations: 0 / 1.062 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.111e-05/0.2588, allocations: 4 kB / 1.062 GB, free: 15.39 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.001192/0.26, allocations: 0.7256 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2601, allocations: 8.625 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.238e-05/0.2602, allocations: 66.72 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.2611, allocations: 144.1 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.2615, allocations: 379.6 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.2616, allocations: 25.02 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.2616, allocations: 28.38 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.2624, allocations: 0.5586 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.2624, allocations: 4 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.2625, allocations: 19.92 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/0.2625, allocations: 40.53 kB / 1.064 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.2633, allocations: 405.8 kB / 1.064 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.2661, allocations: 3.337 MB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.2668, allocations: 334.5 kB / 1.067 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.267, allocations: 176.8 kB / 1.068 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2671, allocations: 7.938 kB / 1.068 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2671, allocations: 34.56 kB / 1.068 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.2671, allocations: 0 / 1.068 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.001985/0.2691, allocations: 1.056 MB / 1.069 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2691, allocations: 59.58 kB / 1.069 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.2695, allocations: 341.5 kB / 1.069 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.2695, allocations: 37.7 kB / 1.069 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.2697, allocations: 247.5 kB / 1.069 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.2697, allocations: 94.66 kB / 1.069 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.2698, allocations: 74.05 kB / 1.07 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.27, allocations: 342.8 kB / 1.07 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.2703, allocations: 152.8 kB / 1.07 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.2707, allocations: 286.5 kB / 1.07 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.2714, allocations: 486.5 kB / 1.071 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2714, allocations: 4 kB / 1.071 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009275/0.2723, allocations: 0.5621 MB / 1.071 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2724, allocations: 8.031 kB / 1.071 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2724, allocations: 8 kB / 1.071 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.2727, allocations: 86.44 kB / 1.071 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.273, allocations: 83.89 kB / 1.071 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.273, allocations: 19.86 kB / 1.071 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.2733, allocations: 31.97 kB / 1.072 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.2733, allocations: 16 kB / 1.072 GB, free: 4.477 MB / 0.8262 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.0001615/0.2735, allocations: 177.6 kB / 1.072 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/0.2735, allocations: 39.53 kB / 1.072 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/0.2744, allocations: 472.2 kB / 1.072 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2744, allocations: 4 kB / 1.072 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2744, allocations: 4 kB / 1.072 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2744, allocations: 4 kB / 1.072 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.2757, allocations: 0.9559 MB / 1.073 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2758, allocations: 4 kB / 1.073 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.276, allocations: 51.89 kB / 1.073 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.2762, allocations: 78.52 kB / 1.073 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2762, allocations: 8 kB / 1.073 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2762, allocations: 0 / 1.073 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2762, allocations: 3.984 kB / 1.073 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007619/0.277, allocations: 0.5584 MB / 1.074 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2772, allocations: 140.6 kB / 1.074 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.2772, allocations: 8 kB / 1.074 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.2774, allocations: 19.91 kB / 1.074 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.2775, allocations: 23.97 kB / 1.074 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2775, allocations: 8 kB / 1.074 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002037/0.2777, allocations: 239.2 kB / 1.074 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2777, allocations: 0 / 1.074 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003871/0.2781, allocations: 84 kB / 1.074 GB, free: 1.461 MB / 0.8262 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.001082/0.2792, allocations: 1.092 MB / 1.075 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008652/0.2801, allocations: 0.6556 MB / 1.076 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2801, allocations: 4.062 kB / 1.076 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.2805, allocations: 442.2 kB / 1.076 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.2812, allocations: 128.6 kB / 1.077 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.2856, allocations: 3.75 MB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.286, allocations: 0.8192 MB / 1.081 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002529/0.2863, allocations: 83.33 kB / 1.081 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.2864, allocations: 123.4 kB / 1.081 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.2864, allocations: 0 / 1.081 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.892/3.179, allocations: 8.206 MB / 1.089 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/14.55, allocations: 9.016 kB / 1.089 GB, free: 1.941 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches