Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007606/0.007606, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 202.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.692/2.692, allocations: 469.4 MB / 0.7422 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 64.11 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2964, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005118/0.3016, allocations: 3.231 MB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.3039, allocations: 1.371 MB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.3042, allocations: 7.938 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.3054, allocations: 338.6 kB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.3059, allocations: 147.2 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3063, allocations: 156.3 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004401/0.3068, allocations: 330.9 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004821/0.3073, allocations: 247.6 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3076, allocations: 139.5 kB / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3079, allocations: 151.5 kB / 1.226 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.308, allocations: 20 kB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.3083, allocations: 163.6 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3084, allocations: 87.73 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3086, allocations: 119.4 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005554/0.3091, allocations: 358.6 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3092, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3092, allocations: 4 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.3092, allocations: 4 kB / 1.226 GB, free: 7.805 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009857/0.3102, allocations: 0.5415 MB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3102, allocations: 11.97 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.135e-05/0.3103, allocations: 54.73 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.3109, allocations: 88.61 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3113, allocations: 252.9 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.3113, allocations: 20.8 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.3114, allocations: 16.38 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.3119, allocations: 324.4 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3119, allocations: 0 / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.312, allocations: 8 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.312, allocations: 16.44 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.3124, allocations: 213.5 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.314, allocations: 1.494 MB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.3144, allocations: 207.7 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.3146, allocations: 40.84 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3146, allocations: 7.938 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3146, allocations: 30.56 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.3146, allocations: 4 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005775/0.3152, allocations: 267.4 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3153, allocations: 55.41 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3155, allocations: 203.7 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3155, allocations: 29.7 kB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3156, allocations: 176 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.3157, allocations: 35.73 kB / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.3157, allocations: 37.67 kB / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3158, allocations: 322.8 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3159, allocations: 47.97 kB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3161, allocations: 116.5 kB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.3163, allocations: 160.4 kB / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3163, allocations: 0 / 1.231 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004044/0.3167, allocations: 222.2 kB / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3168, allocations: 4 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3168, allocations: 12.05 kB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000176/0.317, allocations: 28.78 kB / 1.231 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3171, allocations: 31.92 kB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.3182, allocations: 1.426 MB / 1.233 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.3184, allocations: 16.05 kB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3184, allocations: 12 kB / 1.233 GB, free: 0.7188 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.3186, allocations: 162.1 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3186, allocations: 19.86 kB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.3187, allocations: 17.41 kB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.3187, allocations: 0 / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3187, allocations: 4 kB / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3187, allocations: 3.984 kB / 1.233 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.3194, allocations: 491.2 kB / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3194, allocations: 0 / 1.233 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.3195, allocations: 12 kB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-05/0.3196, allocations: 24.83 kB / 1.233 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.3196, allocations: 0 / 1.233 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009666/0.3206, allocations: 1.433 MB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3206, allocations: 4 kB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.3209, allocations: 240.3 kB / 1.235 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.321, allocations: 97.02 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3211, allocations: 3.984 kB / 1.235 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3212, allocations: 8 kB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3212, allocations: 11.92 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3213, allocations: 8 kB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001297/0.3214, allocations: 153.4 kB / 1.235 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3214, allocations: 0 / 1.235 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003576/0.3218, allocations: 55.89 kB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005791/0.3223, allocations: 0.7678 MB / 1.236 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.3228, allocations: 230.5 kB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.3228, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.323, allocations: 163.2 kB / 1.236 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.3235, allocations: 49.66 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.326, allocations: 2.135 MB / 1.239 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3264, allocations: 0.7632 MB / 1.239 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.3265, allocations: 25.53 kB / 1.239 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.3266, allocations: 55.42 kB / 1.239 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.3266, allocations: 0 / 1.239 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3554, allocations: 4.02 MB / 1.243 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.19/9.545, allocations: 15.88 kB / 1.243 GB, free: 5.457 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches