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.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.001855/0.001855, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002418/0.002418, allocations: 218.1 kB / 22.26 MB, free: 5.082 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.205/3.205, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001943/0.001943, allocations: 66.61 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3316, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006234/0.3379, allocations: 3.867 MB / 1.357 GB, free: 4.562 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00349/0.3414, allocations: 1.898 MB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.3417, allocations: 23.81 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009877/0.3427, allocations: 277.5 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007826/0.3435, allocations: 306.5 kB / 1.359 GB, free: 2.062 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.3441, allocations: 255.4 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008522/0.345, allocations: 0.613 MB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.3454, allocations: 238.8 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.3459, allocations: 247 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.3463, allocations: 243 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.347e-05/0.3464, allocations: 24 kB / 1.361 GB, free: 468 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.3469, allocations: 291.4 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.347, allocations: 123.6 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.3473, allocations: 218.9 kB / 1.361 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007924/0.3481, allocations: 0.5836 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3481, allocations: 0 / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3481, allocations: 3.938 kB / 1.362 GB, free: 15.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.3481, allocations: 0 / 1.362 GB, free: 15.24 MB / 1.061 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.001306/0.3494, allocations: 0.672 MB / 1.362 GB, free: 14.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3495, allocations: 12.03 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.215e-05/0.3495, allocations: 78.64 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009198/0.3505, allocations: 136.5 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.3511, allocations: 341.3 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3511, allocations: 25.03 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.3512, allocations: 28.38 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.3521, allocations: 0.547 MB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.3521, allocations: 15.92 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.3521, allocations: 15.94 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.712e-05/0.3522, allocations: 36.64 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.353, allocations: 410.1 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.3561, allocations: 3.267 MB / 1.367 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.3568, allocations: 324.4 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.3571, allocations: 160.8 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3571, allocations: 8 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3571, allocations: 30.56 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.3571, allocations: 3.938 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.001985/0.3591, allocations: 0.8384 MB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3592, allocations: 55.64 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.3595, allocations: 345.6 kB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3596, allocations: 25.7 kB / 1.369 GB, free: 7.473 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3598, allocations: 256 kB / 1.369 GB, free: 7.219 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.3598, allocations: 103.2 kB / 1.369 GB, free: 7.117 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.36, allocations: 74.05 kB / 1.369 GB, free: 7.039 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3601, allocations: 346.8 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.3604, allocations: 148.8 kB / 1.37 GB, free: 6.543 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.3608, allocations: 294.5 kB / 1.37 GB, free: 6.191 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.3615, allocations: 486.5 kB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3615, allocations: 0 / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001002/0.3625, allocations: 0.5578 MB / 1.371 GB, free: 5.078 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3625, allocations: 8.625 kB / 1.371 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3625, allocations: 4 kB / 1.371 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.3628, allocations: 90.52 kB / 1.371 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.3632, allocations: 91.81 kB / 1.371 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.615e-05/0.3632, allocations: 11.94 kB / 1.371 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.3634, allocations: 31.91 kB / 1.371 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3635, allocations: 16 kB / 1.371 GB, free: 4.82 MB / 1.061 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.0002077/0.3637, allocations: 185.6 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.3637, allocations: 43.77 kB / 1.372 GB, free: 4.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009172/0.3647, allocations: 460.3 kB / 1.372 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3647, allocations: 4 kB / 1.372 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3647, allocations: 8 kB / 1.372 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3647, allocations: 3.984 kB / 1.372 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.3662, allocations: 0.925 MB / 1.373 GB, free: 3.113 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3662, allocations: 0 / 1.373 GB, free: 3.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3664, allocations: 59.98 kB / 1.373 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002335/0.3666, allocations: 82.5 kB / 1.373 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.3667, allocations: 4 kB / 1.373 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3667, allocations: 4 kB / 1.373 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3667, allocations: 3.938 kB / 1.373 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/0.3675, allocations: 0.5353 MB / 1.374 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.3677, allocations: 71.67 kB / 1.374 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.3677, allocations: 7.938 kB / 1.374 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.368, allocations: 31.91 kB / 1.374 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.368, allocations: 23.95 kB / 1.374 GB, free: 2.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.368, allocations: 4 kB / 1.374 GB, free: 2.246 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000239/0.3683, allocations: 235.2 kB / 1.374 GB, free: 2.016 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3683, allocations: 0 / 1.374 GB, free: 2.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004145/0.3687, allocations: 84 kB / 1.374 GB, free: 1.934 MB / 1.061 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.001195/0.3699, allocations: 1.096 MB / 1.375 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008097/0.3707, allocations: 403.7 kB / 1.376 GB, free: 400 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3707, allocations: 4 kB / 1.376 GB, free: 396 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.3711, allocations: 194.6 kB / 1.376 GB, free: 192 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.3718, allocations: 132.1 kB / 1.376 GB, free: 64 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.3768, allocations: 3.733 MB / 1.379 GB, free: 12.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3772, allocations: 0.8308 MB / 1.38 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.3775, allocations: 75.36 kB / 1.38 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.3777, allocations: 127.4 kB / 1.38 GB, free: 11.03 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/0.3777, allocations: 0 / 1.38 GB, free: 11.03 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.137/2.515, allocations: 8.642 MB / 1.389 GB, free: 2.598 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/15.78, allocations: 7.188 kB / 1.389 GB, free: 2.594 MB / 1.076 GB " [Timeout remaining time 284] (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/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: 22.602381789125502]