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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 107.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.226/3.226, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.83 kB / 1.134 GB, free: 33.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 173.9 MB / 1.304 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005564/0.3199, allocations: 3.781 MB / 1.308 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.3229, allocations: 1.812 MB / 1.309 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.3232, allocations: 19.88 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008981/0.3241, allocations: 258.7 kB / 1.31 GB, free: 11.7 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007095/0.3248, allocations: 310.5 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.3254, allocations: 255.4 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.3261, allocations: 0.5971 MB / 1.311 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.3265, allocations: 226.7 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.3269, allocations: 243.1 kB / 1.311 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.3273, allocations: 242.9 kB / 1.311 GB, free: 9.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.3274, allocations: 28 kB / 1.312 GB, free: 9.812 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.3279, allocations: 283.4 kB / 1.312 GB, free: 9.535 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.3281, allocations: 123.6 kB / 1.312 GB, free: 9.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.3283, allocations: 214.8 kB / 1.312 GB, free: 9.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008142/0.3291, allocations: 0.5836 MB / 1.313 GB, free: 8.617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3291, allocations: 0 / 1.313 GB, free: 8.617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3291, allocations: 4 kB / 1.313 GB, free: 8.613 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3291, allocations: 3.938 kB / 1.313 GB, free: 8.609 MB / 1.014 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.001343/0.3305, allocations: 0.7473 MB / 1.313 GB, free: 7.812 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3305, allocations: 8.625 kB / 1.313 GB, free: 7.805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/0.3306, allocations: 78.7 kB / 1.314 GB, free: 7.719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.3315, allocations: 132.5 kB / 1.314 GB, free: 7.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.3322, allocations: 407.9 kB / 1.314 GB, free: 7.148 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3322, allocations: 25.02 kB / 1.314 GB, free: 7.125 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.3323, allocations: 28.38 kB / 1.314 GB, free: 7.098 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.3332, allocations: 0.5509 MB / 1.315 GB, free: 6.477 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.3332, allocations: 7.938 kB / 1.315 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.3332, allocations: 12 kB / 1.315 GB, free: 6.457 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/0.3333, allocations: 40.53 kB / 1.315 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.334, allocations: 409.8 kB / 1.315 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.3374, allocations: 3.338 MB / 1.318 GB, free: 2.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.3381, allocations: 318.5 kB / 1.319 GB, free: 2.109 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.3384, allocations: 160.8 kB / 1.319 GB, free: 1.949 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3384, allocations: 4 kB / 1.319 GB, free: 1.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3384, allocations: 30.56 kB / 1.319 GB, free: 1.906 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 2.195e-06/0.3384, allocations: 4 kB / 1.319 GB, free: 1.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=27): time 0.002219/0.3406, allocations: 1.071 MB / 1.32 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.3407, allocations: 55.64 kB / 1.32 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.341, allocations: 337.6 kB / 1.32 GB, free: 364 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.3411, allocations: 33.7 kB / 1.32 GB, free: 324 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.3413, allocations: 248.1 kB / 1.321 GB, free: 72 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.3414, allocations: 99.11 kB / 1.321 GB, free: 15.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3415, allocations: 82.08 kB / 1.321 GB, free: 15.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3417, allocations: 350.8 kB / 1.321 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.342, allocations: 148.7 kB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004083/0.3424, allocations: 298.5 kB / 1.321 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.3431, allocations: 476 kB / 1.322 GB, free: 14.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.3431, allocations: 7.938 kB / 1.322 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001042/0.3442, allocations: 0.5579 MB / 1.322 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3442, allocations: 8 kB / 1.322 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3442, allocations: 8 kB / 1.322 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.3445, allocations: 95.06 kB / 1.323 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.3449, allocations: 87.81 kB / 1.323 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.3449, allocations: 11.94 kB / 1.323 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.3451, allocations: 27.97 kB / 1.323 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3452, allocations: 20 kB / 1.323 GB, free: 13.66 MB / 1.029 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.0002097/0.3454, allocations: 177.7 kB / 1.323 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.3454, allocations: 43.72 kB / 1.323 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009243/0.3464, allocations: 464 kB / 1.323 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3464, allocations: 4 kB / 1.323 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3464, allocations: 0 / 1.323 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3464, allocations: 0 / 1.323 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.348, allocations: 0.9598 MB / 1.324 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.348, allocations: 0 / 1.324 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.3482, allocations: 51.89 kB / 1.324 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.3485, allocations: 82.61 kB / 1.324 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.3485, allocations: 8 kB / 1.324 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3485, allocations: 4 kB / 1.324 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3485, allocations: 0 / 1.324 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.3494, allocations: 0.5551 MB / 1.325 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.3496, allocations: 136.8 kB / 1.325 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.3497, allocations: 11.92 kB / 1.325 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.3499, allocations: 27.91 kB / 1.325 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.537e-05/0.35, allocations: 19.97 kB / 1.325 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.35, allocations: 12 kB / 1.325 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002541/0.3502, allocations: 235.2 kB / 1.325 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3502, allocations: 0 / 1.325 GB, free: 10.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004329/0.3507, allocations: 88 kB / 1.325 GB, free: 10.65 MB / 1.029 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.001228/0.3519, allocations: 1.092 MB / 1.327 GB, free: 9.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009383/0.3528, allocations: 0.6151 MB / 1.327 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3528, allocations: 0 / 1.327 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.3533, allocations: 424.2 kB / 1.328 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.354, allocations: 137 kB / 1.328 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.3592, allocations: 3.731 MB / 1.331 GB, free: 4.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.3597, allocations: 0.8347 MB / 1.332 GB, free: 3.391 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002531/0.36, allocations: 79.34 kB / 1.332 GB, free: 3.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3602, allocations: 131.1 kB / 1.332 GB, free: 3.188 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/0.3602, allocations: 0 / 1.332 GB, free: 3.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3952, allocations: 8.355 MB / 1.34 GB, free: 11.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.7, allocations: 5.266 kB / 1.341 GB, free: 11.07 MB / 1.045 GB " [Timeout remaining time 289] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.364180603064597]