Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001234/0.001234, 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.00141/0.00141, 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.431/1.431, allocations: 230.6 MB / 256 MB, free: 7.977 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.7/2.7, allocations: 476.7 MB / 0.7707 GB, free: 4.25 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.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_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.002049/0.002049, allocations: 71.06 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3046, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005127/0.3097, allocations: 3.395 MB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003575/0.3133, allocations: 2.119 MB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.3134, allocations: 7.938 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009324/0.3144, allocations: 298.8 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.3149, allocations: 242.9 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.3155, allocations: 287.3 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000483/0.316, allocations: 410.7 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.3163, allocations: 167.8 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.3166, allocations: 179.4 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.317, allocations: 211.3 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.317, allocations: 24 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3175, allocations: 267.5 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3176, allocations: 127.6 kB / 1.291 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3178, allocations: 151.3 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005947/0.3184, allocations: 490.2 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3184, allocations: 7.984 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3184, allocations: 0 / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3184, allocations: 0 / 1.292 GB, free: 3.316 MB / 0.9825 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.001086/0.3195, allocations: 0.5322 MB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3195, allocations: 8.031 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.3196, allocations: 62.73 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009791/0.3205, allocations: 116.6 kB / 1.292 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3209, allocations: 218.7 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3209, allocations: 24.86 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3211, allocations: 36.48 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007364/0.3218, allocations: 461.3 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3218, allocations: 0 / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.3219, allocations: 15.98 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001387/0.322, allocations: 40.47 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.3226, allocations: 361.7 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.3255, allocations: 2.154 MB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.3259, allocations: 248.9 kB / 1.296 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.3261, allocations: 144.7 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3261, allocations: 4 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.3262, allocations: 42.5 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3262, allocations: 0 / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002002/0.3282, allocations: 0.9097 MB / 1.297 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3282, allocations: 59.41 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.3286, allocations: 256.9 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3286, allocations: 29.7 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3287, allocations: 196.3 kB / 1.297 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.3288, allocations: 83.33 kB / 1.297 GB, free: 13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3289, allocations: 81.58 kB / 1.297 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3291, allocations: 334.8 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3294, allocations: 159.9 kB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.3297, allocations: 233.6 kB / 1.298 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.3303, allocations: 410.8 kB / 1.298 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3303, allocations: 3.938 kB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001301/0.3316, allocations: 0.5979 MB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3316, allocations: 15.92 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3316, allocations: 3.984 kB / 1.299 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007051/0.3324, allocations: 188.9 kB / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.3327, allocations: 63.89 kB / 1.299 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.3357, allocations: 2.397 MB / 1.302 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.3361, allocations: 31.91 kB / 1.302 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.3361, allocations: 12 kB / 1.302 GB, free: 8.281 MB / 0.9981 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.0002151/0.3363, allocations: 173.7 kB / 1.302 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.3364, allocations: 23.86 kB / 1.302 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.337, allocations: 351.6 kB / 1.302 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.337, allocations: 4 kB / 1.302 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.337, allocations: 0 / 1.302 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.337, allocations: 3.984 kB / 1.302 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.3381, allocations: 0.7762 MB / 1.303 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3381, allocations: 8 kB / 1.303 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.3385, allocations: 71.94 kB / 1.303 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3385, allocations: 0 / 1.303 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3385, allocations: 8 kB / 1.303 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3385, allocations: 4 kB / 1.303 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3385, allocations: 3.938 kB / 1.303 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.3393, allocations: 0.6182 MB / 1.304 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.3395, allocations: 51.83 kB / 1.304 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.3395, allocations: 8 kB / 1.304 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3397, allocations: 11.98 kB / 1.304 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.3398, allocations: 19.91 kB / 1.304 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3398, allocations: 7.938 kB / 1.304 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002279/0.34, allocations: 188.5 kB / 1.304 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.34, allocations: 4 kB / 1.304 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004276/0.3405, allocations: 92 kB / 1.304 GB, free: 5.781 MB / 0.9981 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.001144/0.3416, allocations: 1.168 MB / 1.305 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009513/0.3425, allocations: 0.5139 MB / 1.306 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3425, allocations: 4.625 kB / 1.306 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.3428, allocations: 142.2 kB / 1.306 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3432, allocations: 57.45 kB / 1.306 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.3486, allocations: 3.691 MB / 1.31 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.349, allocations: 0.7951 MB / 1.31 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.3492, allocations: 70.92 kB / 1.31 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.3494, allocations: 91.34 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.3494, allocations: 4 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.3869, allocations: 7.263 MB / 1.318 GB, free: 7.934 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.01, allocations: 4.062 kB / 1.318 GB, free: 7.93 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.387250556144863]