Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001815/0.001815, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002333/0.002333, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.095/3.095, allocations: 0.49 GB / 0.7951 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.DynamicLoads,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002023/0.002023, allocations: 63.19 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005092/0.3111, allocations: 3.398 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003375/0.3145, allocations: 2.115 MB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.3146, allocations: 7.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009617/0.3156, allocations: 302.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.3161, allocations: 238.9 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006953/0.3168, allocations: 290.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.3174, allocations: 418.7 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003089/0.3177, allocations: 172.2 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3179, allocations: 171.4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.3183, allocations: 215.3 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.3183, allocations: 28 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.3188, allocations: 267.5 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3189, allocations: 119.7 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3191, allocations: 155.2 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005951/0.3197, allocations: 490.2 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3197, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3197, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3197, allocations: 0 / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001033/0.3207, allocations: 0.5362 MB / 1.335 GB, free: 9.051 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3207, allocations: 8.031 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.3208, allocations: 66.72 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/0.3217, allocations: 112.6 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3221, allocations: 226.7 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3221, allocations: 20.88 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3222, allocations: 44.41 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.3229, allocations: 457.3 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3229, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.323, allocations: 11.98 kB / 1.335 GB, free: 8.055 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.3231, allocations: 40.45 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000613/0.3237, allocations: 365.7 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.3263, allocations: 2.15 MB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.3267, allocations: 246.3 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3269, allocations: 150.7 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3269, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.327, allocations: 38.5 kB / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.062e-06/0.327, allocations: 0 / 1.338 GB, free: 4.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.00167/0.3286, allocations: 0.918 MB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3287, allocations: 51.41 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.329, allocations: 264.8 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.329, allocations: 29.7 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.3292, allocations: 196.3 kB / 1.34 GB, free: 3.363 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.3292, allocations: 79.33 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.3293, allocations: 81.64 kB / 1.34 GB, free: 3.199 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3295, allocations: 334.8 kB / 1.34 GB, free: 2.863 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.3298, allocations: 159.9 kB / 1.34 GB, free: 2.707 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.3301, allocations: 246.3 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.3307, allocations: 410.8 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3307, allocations: 3.938 kB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001164/0.3318, allocations: 0.5934 MB / 1.342 GB, free: 1.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3318, allocations: 5.875 kB / 1.342 GB, free: 1.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3319, allocations: 4 kB / 1.342 GB, free: 1.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000665/0.3325, allocations: 192.9 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.3328, allocations: 63.89 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.3357, allocations: 2.396 MB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.3361, allocations: 32.03 kB / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3361, allocations: 16 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.3363, allocations: 166.2 kB / 1.344 GB, free: 14.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.3364, allocations: 23.86 kB / 1.344 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3369, allocations: 353.5 kB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3369, allocations: 3.984 kB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.3369, allocations: 0 / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3369, allocations: 4 kB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.338, allocations: 0.79 MB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.338, allocations: 0 / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.3384, allocations: 71.94 kB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3384, allocations: 0 / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3384, allocations: 8 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3384, allocations: 0 / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3384, allocations: 4 kB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007382/0.3391, allocations: 0.6183 MB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3393, allocations: 51.88 kB / 1.346 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3393, allocations: 11.98 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3395, allocations: 15.98 kB / 1.346 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3396, allocations: 19.91 kB / 1.346 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3396, allocations: 12 kB / 1.346 GB, free: 12.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002159/0.3398, allocations: 184.5 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3398, allocations: 3.938 kB / 1.347 GB, free: 12.16 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004032/0.3402, allocations: 88 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/0.3413, allocations: 1.165 MB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009136/0.3422, allocations: 0.5104 MB / 1.348 GB, free: 10.35 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3422, allocations: 0 / 1.348 GB, free: 10.35 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.3424, allocations: 139.8 kB / 1.348 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3428, allocations: 56.38 kB / 1.348 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.348, allocations: 3.689 MB / 1.352 GB, free: 6.312 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.3484, allocations: 0.799 MB / 1.353 GB, free: 5.484 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.3486, allocations: 74.92 kB / 1.353 GB, free: 5.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3487, allocations: 83.41 kB / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of SimCode: time 7.21e-07/0.3487, allocations: 0 / 1.353 GB, free: 5.328 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.461/1.81, allocations: 7.266 MB / 1.36 GB, free: 14.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/15.61, allocations: 1.125 kB / 1.36 GB, free: 14.23 MB / 1.061 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 25.92267290595919]