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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 214.2 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.74/2.74, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 69.02 kB / 1.117 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3337, allocations: 169.9 MB / 1.283 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006004/0.3397, allocations: 3.623 MB / 1.286 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003592/0.3433, allocations: 1.758 MB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.3437, allocations: 23.75 kB / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3448, allocations: 267.5 kB / 1.288 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009034/0.3457, allocations: 310.5 kB / 1.288 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.3464, allocations: 253.3 kB / 1.289 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000865/0.3472, allocations: 0.6091 MB / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.3477, allocations: 235.3 kB / 1.289 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005293/0.3482, allocations: 243.1 kB / 1.29 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.3487, allocations: 230.9 kB / 1.29 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.116e-05/0.3488, allocations: 32 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005191/0.3493, allocations: 243.4 kB / 1.29 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.3495, allocations: 123.6 kB / 1.29 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.3497, allocations: 179.1 kB / 1.29 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.3506, allocations: 0.5953 MB / 1.291 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3506, allocations: 0 / 1.291 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3506, allocations: 0 / 1.291 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.3507, allocations: 0 / 1.291 GB, free: 11.53 MB / 0.9981 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.001396/0.3521, allocations: 0.6797 MB / 1.292 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3521, allocations: 12.03 kB / 1.292 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.005e-05/0.3522, allocations: 66.72 kB / 1.292 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009429/0.3531, allocations: 132.5 kB / 1.292 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.3538, allocations: 345.3 kB / 1.292 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3538, allocations: 21.03 kB / 1.292 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.3539, allocations: 32.36 kB / 1.292 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.3548, allocations: 0.6301 MB / 1.293 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.3549, allocations: 15.88 kB / 1.293 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.3549, allocations: 15.98 kB / 1.293 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.355, allocations: 36.64 kB / 1.293 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.3558, allocations: 414.1 kB / 1.293 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.3588, allocations: 2.749 MB / 1.296 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/0.3595, allocations: 304.8 kB / 1.296 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3598, allocations: 160.7 kB / 1.296 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3598, allocations: 8 kB / 1.296 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3598, allocations: 38.56 kB / 1.297 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.3598, allocations: 0 / 1.297 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.002078/0.3619, allocations: 0.8439 MB / 1.297 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.362, allocations: 55.64 kB / 1.297 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.3623, allocations: 349.5 kB / 1.298 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.3624, allocations: 33.7 kB / 1.298 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.3626, allocations: 248.2 kB / 1.298 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.384e-05/0.3627, allocations: 103.1 kB / 1.298 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.3628, allocations: 74.09 kB / 1.298 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3629, allocations: 350.8 kB / 1.299 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.3632, allocations: 148.8 kB / 1.299 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.3637, allocations: 290.5 kB / 1.299 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.3644, allocations: 482.5 kB / 1.299 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3644, allocations: 0 / 1.299 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001045/0.3654, allocations: 0.5617 MB / 1.3 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3655, allocations: 10.5 kB / 1.3 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3655, allocations: 4.625 kB / 1.3 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.3658, allocations: 94.45 kB / 1.3 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.3662, allocations: 87.81 kB / 1.3 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.3662, allocations: 19.91 kB / 1.3 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.3665, allocations: 23.98 kB / 1.3 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3665, allocations: 23.98 kB / 1.3 GB, free: 1.633 MB / 0.9981 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.0002061/0.3667, allocations: 173.7 kB / 1.3 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.3668, allocations: 43.72 kB / 1.3 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009414/0.3677, allocations: 464.3 kB / 1.301 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3677, allocations: 7.984 kB / 1.301 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3677, allocations: 0 / 1.301 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3677, allocations: 3.984 kB / 1.301 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.3694, allocations: 0.9037 MB / 1.302 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3694, allocations: 0 / 1.302 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.3696, allocations: 47.91 kB / 1.302 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/0.3699, allocations: 82.5 kB / 1.302 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.3699, allocations: 4 kB / 1.302 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.291e-05/0.3699, allocations: 7.938 kB / 1.302 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3699, allocations: 0 / 1.302 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.3708, allocations: 0.5588 MB / 1.302 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.371, allocations: 55.73 kB / 1.302 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.371, allocations: 8 kB / 1.302 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.3712, allocations: 31.84 kB / 1.303 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.3713, allocations: 23.95 kB / 1.303 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3713, allocations: 4 kB / 1.303 GB, free: 15.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000259/0.3716, allocations: 235.2 kB / 1.303 GB, free: 14.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3716, allocations: 0 / 1.303 GB, free: 14.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004553/0.3721, allocations: 88 kB / 1.303 GB, free: 14.78 MB / 1.014 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.001255/0.3733, allocations: 1.091 MB / 1.304 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008883/0.3742, allocations: 407.2 kB / 1.304 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3742, allocations: 4 kB / 1.304 GB, free: 13.23 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.3746, allocations: 186.3 kB / 1.304 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.3753, allocations: 129.6 kB / 1.305 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.3807, allocations: 3.733 MB / 1.308 GB, free: 8.945 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.3809, allocations: 227.7 kB / 1.308 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002848/0.3812, allocations: 79.34 kB / 1.309 GB, free: 8.625 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.3814, allocations: 135.3 kB / 1.309 GB, free: 8.492 MB / 1.014 GB Notification: Performance of SimCode: time 1.152e-06/0.3814, allocations: 0 / 1.309 GB, free: 8.492 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05506/0.4365, allocations: 9.35 MB / 1.318 GB, free: 15.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.03, allocations: 0 / 1.318 GB, free: 15.45 MB / 1.029 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.478287841193378]