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.001843/0.001843, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002185/0.002185, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.845/1.845, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.35/4.35, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 66.77 kB / 0.8987 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3234, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005066/0.3285, allocations: 3.781 MB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3311, allocations: 1.801 MB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.3314, allocations: 15.88 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.3323, allocations: 243 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006591/0.333, allocations: 270.7 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.3335, allocations: 226.6 kB / 1.059 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.3342, allocations: 0.6088 MB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004709/0.3346, allocations: 282.5 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.335, allocations: 235 kB / 1.06 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.3353, allocations: 247 kB / 1.06 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.3354, allocations: 28 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.3358, allocations: 275.4 kB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3359, allocations: 115.6 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.3362, allocations: 210.9 kB / 1.061 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.3368, allocations: 0.6036 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3368, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3368, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.3369, allocations: 0 / 1.061 GB, free: 15.77 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.001117/0.338, allocations: 0.7363 MB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.338, allocations: 8.625 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3381, allocations: 70.72 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008539/0.339, allocations: 148.1 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.3395, allocations: 367.7 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3395, allocations: 25.02 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.3396, allocations: 28.38 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007505/0.3403, allocations: 0.5509 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3404, allocations: 3.938 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.3404, allocations: 19.97 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-05/0.3405, allocations: 48.48 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.3411, allocations: 401.7 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.3438, allocations: 3.337 MB / 1.067 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.3444, allocations: 332 kB / 1.067 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.3447, allocations: 180.7 kB / 1.067 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3448, allocations: 8 kB / 1.067 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3448, allocations: 30.56 kB / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=26): time 2.996e-06/0.3448, allocations: 0 / 1.067 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.001891/0.3467, allocations: 1.073 MB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3467, allocations: 55.64 kB / 1.068 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.347, allocations: 337.5 kB / 1.069 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.3471, allocations: 33.7 kB / 1.069 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3472, allocations: 243.5 kB / 1.069 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.986e-05/0.3473, allocations: 94.66 kB / 1.069 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3474, allocations: 82.03 kB / 1.069 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3476, allocations: 346.8 kB / 1.069 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.3478, allocations: 148.8 kB / 1.07 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.3481, allocations: 294.5 kB / 1.07 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.3488, allocations: 474.3 kB / 1.07 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3488, allocations: 4 kB / 1.07 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009067/0.3497, allocations: 0.5615 MB / 1.071 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3497, allocations: 7.984 kB / 1.071 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3497, allocations: 8.625 kB / 1.071 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.35, allocations: 86.52 kB / 1.071 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.3504, allocations: 91.81 kB / 1.071 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.3504, allocations: 11.94 kB / 1.071 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.3506, allocations: 27.97 kB / 1.071 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3507, allocations: 16 kB / 1.071 GB, free: 4.852 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.0001914/0.3509, allocations: 181.6 kB / 1.071 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.3509, allocations: 39.53 kB / 1.071 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008309/0.3518, allocations: 468.5 kB / 1.072 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3518, allocations: 0 / 1.072 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3518, allocations: 8 kB / 1.072 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3518, allocations: 7.984 kB / 1.072 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.3532, allocations: 0.9528 MB / 1.073 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3532, allocations: 4 kB / 1.073 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.3534, allocations: 59.98 kB / 1.073 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002138/0.3536, allocations: 78.5 kB / 1.073 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.3537, allocations: 8 kB / 1.073 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.3537, allocations: 3.938 kB / 1.073 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3537, allocations: 7.984 kB / 1.073 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.3545, allocations: 0.5441 MB / 1.073 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3546, allocations: 132.7 kB / 1.073 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.3547, allocations: 11.91 kB / 1.073 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.3549, allocations: 35.84 kB / 1.074 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.355, allocations: 19.97 kB / 1.074 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.355, allocations: 11.94 kB / 1.074 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000214/0.3552, allocations: 231.2 kB / 1.074 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3552, allocations: 4 kB / 1.074 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003907/0.3556, allocations: 88 kB / 1.074 GB, free: 1.82 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.001043/0.3567, allocations: 1.088 MB / 1.075 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009504/0.3577, allocations: 0.671 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3577, allocations: 0 / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.3581, allocations: 434.4 kB / 1.076 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.3588, allocations: 117.1 kB / 1.076 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.3634, allocations: 3.878 MB / 1.08 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3638, allocations: 0.827 MB / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002542/0.3641, allocations: 87.27 kB / 1.081 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3642, allocations: 127.4 kB / 1.081 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3642, allocations: 0 / 1.081 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.706/1.07, allocations: 8.134 MB / 1.089 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/1.071, allocations: 244.3 kB / 1.089 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/4.325, allocations: 11.81 kB / 1.089 GB, free: 2.035 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